package com.lyrcsoft.springbootaop;

import com.lyrcsoft.springbootaop.demos.ProxyFactory;
import com.lyrcsoft.springbootaop.demos.UserService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringbootAopApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootAopApplication.class, args);

//        UserService userService = new UserService();
//        UserService userServiceProxy = (UserService) new ProxyFactory(userService).getProxy();
//        System.out.println(userServiceProxy.getClass());
//        userServiceProxy.test();
    }

}
